<?php
    require_once 'dbConn.php';
    date_default_timezone_set("PRC");
     
     
    $email = $_POST['email'];
     
	$sql = "select * from user_shop where userid =(select id from user where email = '". $email ."')";
	
	$result = mysql_query($sql,$con);
	$num_rows = mysql_num_rows($result);
    
    // 返回影响行数
    echo $num_rows;
    
?>